package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PhotovoltaicManageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PhotovoltaicManageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRecordMonthIsNull() {
            addCriterion("record_month is null");
            return (Criteria) this;
        }

        public Criteria andRecordMonthIsNotNull() {
            addCriterion("record_month is not null");
            return (Criteria) this;
        }

        public Criteria andRecordMonthEqualTo(String value) {
            addCriterion("record_month =", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthNotEqualTo(String value) {
            addCriterion("record_month <>", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthGreaterThan(String value) {
            addCriterion("record_month >", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthGreaterThanOrEqualTo(String value) {
            addCriterion("record_month >=", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthLessThan(String value) {
            addCriterion("record_month <", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthLessThanOrEqualTo(String value) {
            addCriterion("record_month <=", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthLike(String value) {
            addCriterion("record_month like", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthNotLike(String value) {
            addCriterion("record_month not like", value, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthIn(List<String> values) {
            addCriterion("record_month in", values, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthNotIn(List<String> values) {
            addCriterion("record_month not in", values, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthBetween(String value1, String value2) {
            addCriterion("record_month between", value1, value2, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordMonthNotBetween(String value1, String value2) {
            addCriterion("record_month not between", value1, value2, "recordMonth");
            return (Criteria) this;
        }

        public Criteria andRecordYearIsNull() {
            addCriterion("record_year is null");
            return (Criteria) this;
        }

        public Criteria andRecordYearIsNotNull() {
            addCriterion("record_year is not null");
            return (Criteria) this;
        }

        public Criteria andRecordYearEqualTo(String value) {
            addCriterion("record_year =", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearNotEqualTo(String value) {
            addCriterion("record_year <>", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearGreaterThan(String value) {
            addCriterion("record_year >", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearGreaterThanOrEqualTo(String value) {
            addCriterion("record_year >=", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearLessThan(String value) {
            addCriterion("record_year <", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearLessThanOrEqualTo(String value) {
            addCriterion("record_year <=", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearLike(String value) {
            addCriterion("record_year like", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearNotLike(String value) {
            addCriterion("record_year not like", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearIn(List<String> values) {
            addCriterion("record_year in", values, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearNotIn(List<String> values) {
            addCriterion("record_year not in", values, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearBetween(String value1, String value2) {
            addCriterion("record_year between", value1, value2, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearNotBetween(String value1, String value2) {
            addCriterion("record_year not between", value1, value2, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordDayIsNull() {
            addCriterion("record_day is null");
            return (Criteria) this;
        }

        public Criteria andRecordDayIsNotNull() {
            addCriterion("record_day is not null");
            return (Criteria) this;
        }

        public Criteria andRecordDayEqualTo(String value) {
            addCriterion("record_day =", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayNotEqualTo(String value) {
            addCriterion("record_day <>", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayGreaterThan(String value) {
            addCriterion("record_day >", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayGreaterThanOrEqualTo(String value) {
            addCriterion("record_day >=", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayLessThan(String value) {
            addCriterion("record_day <", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayLessThanOrEqualTo(String value) {
            addCriterion("record_day <=", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayLike(String value) {
            addCriterion("record_day like", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayNotLike(String value) {
            addCriterion("record_day not like", value, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayIn(List<String> values) {
            addCriterion("record_day in", values, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayNotIn(List<String> values) {
            addCriterion("record_day not in", values, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayBetween(String value1, String value2) {
            addCriterion("record_day between", value1, value2, "recordDay");
            return (Criteria) this;
        }

        public Criteria andRecordDayNotBetween(String value1, String value2) {
            addCriterion("record_day not between", value1, value2, "recordDay");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationIsNull() {
            addCriterion("power_generation is null");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationIsNotNull() {
            addCriterion("power_generation is not null");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationEqualTo(String value) {
            addCriterion("power_generation =", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationNotEqualTo(String value) {
            addCriterion("power_generation <>", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationGreaterThan(String value) {
            addCriterion("power_generation >", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationGreaterThanOrEqualTo(String value) {
            addCriterion("power_generation >=", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationLessThan(String value) {
            addCriterion("power_generation <", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationLessThanOrEqualTo(String value) {
            addCriterion("power_generation <=", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationLike(String value) {
            addCriterion("power_generation like", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationNotLike(String value) {
            addCriterion("power_generation not like", value, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationIn(List<String> values) {
            addCriterion("power_generation in", values, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationNotIn(List<String> values) {
            addCriterion("power_generation not in", values, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationBetween(String value1, String value2) {
            addCriterion("power_generation between", value1, value2, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andPowerGenerationNotBetween(String value1, String value2) {
            addCriterion("power_generation not between", value1, value2, "powerGeneration");
            return (Criteria) this;
        }

        public Criteria andCo2IsNull() {
            addCriterion("CO2 is null");
            return (Criteria) this;
        }

        public Criteria andCo2IsNotNull() {
            addCriterion("CO2 is not null");
            return (Criteria) this;
        }

        public Criteria andCo2EqualTo(String value) {
            addCriterion("CO2 =", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2NotEqualTo(String value) {
            addCriterion("CO2 <>", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2GreaterThan(String value) {
            addCriterion("CO2 >", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2GreaterThanOrEqualTo(String value) {
            addCriterion("CO2 >=", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2LessThan(String value) {
            addCriterion("CO2 <", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2LessThanOrEqualTo(String value) {
            addCriterion("CO2 <=", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2Like(String value) {
            addCriterion("CO2 like", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2NotLike(String value) {
            addCriterion("CO2 not like", value, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2In(List<String> values) {
            addCriterion("CO2 in", values, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2NotIn(List<String> values) {
            addCriterion("CO2 not in", values, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2Between(String value1, String value2) {
            addCriterion("CO2 between", value1, value2, "co2");
            return (Criteria) this;
        }

        public Criteria andCo2NotBetween(String value1, String value2) {
            addCriterion("CO2 not between", value1, value2, "co2");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantIsNull() {
            addCriterion("equivalent_plant is null");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantIsNotNull() {
            addCriterion("equivalent_plant is not null");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantEqualTo(String value) {
            addCriterion("equivalent_plant =", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantNotEqualTo(String value) {
            addCriterion("equivalent_plant <>", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantGreaterThan(String value) {
            addCriterion("equivalent_plant >", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantGreaterThanOrEqualTo(String value) {
            addCriterion("equivalent_plant >=", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantLessThan(String value) {
            addCriterion("equivalent_plant <", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantLessThanOrEqualTo(String value) {
            addCriterion("equivalent_plant <=", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantLike(String value) {
            addCriterion("equivalent_plant like", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantNotLike(String value) {
            addCriterion("equivalent_plant not like", value, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantIn(List<String> values) {
            addCriterion("equivalent_plant in", values, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantNotIn(List<String> values) {
            addCriterion("equivalent_plant not in", values, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantBetween(String value1, String value2) {
            addCriterion("equivalent_plant between", value1, value2, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andEquivalentPlantNotBetween(String value1, String value2) {
            addCriterion("equivalent_plant not between", value1, value2, "equivalentPlant");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionIsNull() {
            addCriterion("self_consumption is null");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionIsNotNull() {
            addCriterion("self_consumption is not null");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionEqualTo(String value) {
            addCriterion("self_consumption =", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionNotEqualTo(String value) {
            addCriterion("self_consumption <>", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionGreaterThan(String value) {
            addCriterion("self_consumption >", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionGreaterThanOrEqualTo(String value) {
            addCriterion("self_consumption >=", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionLessThan(String value) {
            addCriterion("self_consumption <", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionLessThanOrEqualTo(String value) {
            addCriterion("self_consumption <=", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionLike(String value) {
            addCriterion("self_consumption like", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionNotLike(String value) {
            addCriterion("self_consumption not like", value, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionIn(List<String> values) {
            addCriterion("self_consumption in", values, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionNotIn(List<String> values) {
            addCriterion("self_consumption not in", values, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionBetween(String value1, String value2) {
            addCriterion("self_consumption between", value1, value2, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andSelfConsumptionNotBetween(String value1, String value2) {
            addCriterion("self_consumption not between", value1, value2, "selfConsumption");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusIsNull() {
            addCriterion("power_surplus is null");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusIsNotNull() {
            addCriterion("power_surplus is not null");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusEqualTo(String value) {
            addCriterion("power_surplus =", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusNotEqualTo(String value) {
            addCriterion("power_surplus <>", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusGreaterThan(String value) {
            addCriterion("power_surplus >", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusGreaterThanOrEqualTo(String value) {
            addCriterion("power_surplus >=", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusLessThan(String value) {
            addCriterion("power_surplus <", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusLessThanOrEqualTo(String value) {
            addCriterion("power_surplus <=", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusLike(String value) {
            addCriterion("power_surplus like", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusNotLike(String value) {
            addCriterion("power_surplus not like", value, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusIn(List<String> values) {
            addCriterion("power_surplus in", values, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusNotIn(List<String> values) {
            addCriterion("power_surplus not in", values, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusBetween(String value1, String value2) {
            addCriterion("power_surplus between", value1, value2, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andPowerSurplusNotBetween(String value1, String value2) {
            addCriterion("power_surplus not between", value1, value2, "powerSurplus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}